package day03;

public class OperDemo5 {
    public static void main(String[] args) {
        //5)字符串连接运算符:+
        int age = 20;
        System.out.println("age=");
        System.out.println(age);
        System.out.println("age="+age);
        System.out.println("我今年"+age+"岁了");

        String name = "lwg";
        System.out.println("大家好,我叫"+name);
        System.out.println("大家好,我叫"+name+",今年"+age+"岁了");

        int age2 = 32;
        System.out.println("age2=");
        System.out.println(age2);
        System.out.println("age2="+age2);


        System.out.println(10+20+""+30);
        System.out.println(""+9+8+5);
        System.out.println(1+2+3+"");
        System.out.println(1+2+""+3);
        System.out.println(""+1+2+3);
        System.out.println(100+200+30+"");



    }
}
